import request from '/@/utils/request';

export function getParams() {
  return request({
    url: '/admin/energyParamManage/page',
    method: 'get', 
  })
} 
export function updateParmas(data) {
  return request({
    url: '/admin/energyParamManage',
    method: 'post',
    data
  })
} 
export function delParmas(id) {
  return request({
    url: '/admin/energyParamManage',
    method: 'delete',
    params: id
  })
} 
